from django.shortcuts import render
from django.views import View

class DashboardView(View):
    def get(self,request,project_id):
        '''
        项目管理主页面
        :param request:
        :param project_id:
        :return:
        '''
        return render(request,'web/dashboard.html')


class IssuesView(View):
    def get(self,request,project_id):
        '''
        :param request:
        :param project_id:
        :return:
        '''
        return render(request,'web/issues.html')

class StatisticsView(View):
    def get(self,request,project_id):
        '''

        :param request:
        :param project_id:
        :return:
        '''
        return render(request,'web/statistics.html')

class WikiView(View):
    '''

    '''
    def get(self,request,project_id):
        return render(request,'web/wiki.html')

class SettingView(View):
    def get(self,request,project_id):
        return render(request,'web/settings.html')

